<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>租介-添加商品</title>
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<script type="text/javascript" src="__MERCHANT_STATIC__/hui/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="__MERCHANT_STATIC__/hui/lib/layer/2.4/layer.js"></script>
	<link rel="stylesheet" href="__MERCHANT_STATIC__/style/css/zyupload-1.0.0.css " type="text/css">
	<script src="__WWW_STATIC__/lib/plupload/plupload.full.min.js"></script>
	<script src="__MERCHANT_STATIC__/style/js/uploadfile/uploadfile.js" type="text/javascript"></script>
	<script src="__WWW_STATIC__/lib/fileinput/js/plugins/sortable.js" type="text/javascript"></script>

	<style>
		a {
			color: #000;
		}
		#header{
			padding-left: 50px;
		}

		a:hover {
			color: #000;
		}

		.dropDown {
			margin: 18px 31px 0 0;
		}

		p {
			color: #444;
		}

		.lab {
			font-size: 14px;
			color: #444;
		}

		ul li {
			cursor: pointer;
		}

		.actives {
			background: #43b9ec;
			color: #fff;
		}

		.amark {
			color: #FF0000;
		}

		input[type=checkbox],
		input[type=radio] {
			display: inline;
		}
		
		/* 图片上传相关css */

		.update_goodsCommonR{
				padding: 15px;
				box-sizing: border-box;
		}
		.upload_image{
			border:1px solid #999;
			box-sizing: border-box;
			height: 150px;
			width: 150px;
			display: block;
			background-image: url("__MERCHANT_STATIC__/style/img/upload.png");
		}
		.img_upload_list{
			/* margin-bottom: 10px; */
		}
		.img_upload_list:after{
			content: "";
			display: block;
			clear: both;
		}
		.img_upload_single{
			margin-right: 15px;
			margin-bottom: 15px;
			width: 150px;
			position: relative;
			float: left;
		}
		.img_upload_single:hover .upload_delete{
			display: block;
			text-decoration: none;
		}
		.upload_delete{
			position: absolute;
			height: 30px;
			width: 30px;
			color: #fff !important;
			background-color: #000;
			border-radius: 50%;
			text-align: center;
			line-height: 30px;
			top: -10px;
			right: -10px;
			font-size: 25px;
			display: none;
		}
		.goods_lease_add{
			background-color: #2196f3;
			height: 40px;
			width: 150px;
			text-align: center;
			line-height: 40px;
			border-radius: 3px;
			color: #fff;
			cursor: pointer;
			display: block
		}
		.goods_lease_mess{
			border: 1px solid #e8e8e8;
			height: 40px;
			line-height: 40px;
			box-sizing: border-box;
			text-align: center;
			font-size: 16px;
			color: #333;
			margin-top: 10px;
			width: 100%;
		}
		a {
			color: #333;
		}
		.dropDown {
			margin: 18px 31px 0 0;
		}
		.margin {
			padding-left: 50px;
			height: 100% !important;
			box-sizing: border-box;
			width: 100% !important;
		}
		.logo>img{
			height: 100%;
		}
		.header_common>li{
			line-height: 100px;
			height: 100px;
			margin: 0;
		}
		.header_common>li>a{
			line-height: 100px !important;
		}
		.header_common>li:nth-of-type(1){
			margin-right: 15px;
		}
		.header_common>li:nth-of-type(1)>img{
			margin-top: 30px;
			border-radius: 3px;
		}
		.header_common>li:nth-of-type(2){
			margin-right: 55px;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			max-width: 85px;
		}
		.header_common>li:nth-of-type(2)>a{
			font-size: 16px !important;
			color: #fff !important;
		}
		.header_common>li:nth-of-type(3)>a{
			font-size: 16px !important;
			color: #2196f3 !important;
		}
		.header_common>li:nth-of-type(2)>a:hover{
			background-color: transparent;
			/* color: #2196f3 !important; */
		}
		.header_common>li:nth-of-type(3)>a:hover{
			background-color: transparent;
			/* color: #fff !important; */
		}
		.update_goodsCommonMess{
				padding-left: 230px;
				box-sizing: border-box;
		}
		.update_addresschange td:nth-of-type(1){
			width: 100px;
		}
		.update_addresschange td:nth-of-type(3){
			width: 90px;
		}
		.update_addressshop td:nth-of-type(1){
			width: 200px;
			
		}
		.update_addressshop td:nth-of-type(3){
			width: 90px;
		}
		/* 商品规格选中样式改变 */
		.goodsadd_type--selected>input{
			cursor: default;
			text-align: center;
			color: #fff;
			background-color: #2196f3;
			border: none;
		}
		.goodsadd_type--selected>span{
			display: none;
		}
		.goodsadd_type--selected:hover >span{
			display: block;
		}
		.goodsadd_type_maxnumber{
			border: 1px solid #dadada;
			text-indent: 10px;
			font-size: 15px;
			color: #333;
			width: 100px;
			border-radius: 3px;
			margin-right: 10px;
		}
		
	</style>
</head>

<body>

	<div class="kong">
	<div style="width: 100%;background: #313130;border-bottom: 1px solid #e8e8e8;height:100px;box-sizing:border-box">
		<div id="header" class="margin">
			<div class="logo" style="margin-top:0"><img src="__MERCHANT_STATIC__/style/img/official_logo.png" alt=""></div>
			<!-- 个人登录功能区域 -->
			<div  id="Hui-userbar" class="nickname nav navbar-nav navbar-userbar hidden-xs">
				<ul class="header_common">
					<li ><img src="__MERCHANT_STATIC__/style/img/dian.jpg" alt="" style="width: 40px;height:40px;"></li>
					<li class="" > <a href="javascript:void(0);" class="dropDown_A" style="color: #000;">店铺名称</a>
					</li>
					<li><a href="{:url('index/loginOut')}" >退出</a></li>
				</ul>	
			</div>
		</div>
	</div>
</div>

	{include file="common/menu" /}
	<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
     <div class="Hui-article-box" style="margin-top: 37px;overflow-y:auto">
		<h2 class="update_title">商品>添加商品</h2>
          <form id="frm" action="" class="update_form">
			{:token()}
			<div class="update_goodsTop">
				<div class="lab">
					<span><i class="update_red">*</i>商品类目</span>
					<input type="hidden" name="goods_category_id" />
					<input type="hidden" name="goods_merchant_id" value="{:session('merchant.merchant_id')}" />
					<span id="span_catname" style="margin-right:10px"></span>
					<a href="javascript:setDiv_Cate();" style="margin-left:0px">选择类目</a>
					<!-- 商品类别选择器 ，使用定位-->
					<div id="div_main" class="update_goodsType">
						<div id="div_cate" class="wareSort clearfix" style="display:none;min-height: 130px;">
							<ul id="sort1" style="width: 200px;">
								{foreach($datacate as $kdatacate => $vdatacate)}
								<li onclick="findChild({$vdatacate['goods_category_id']},this)">{$vdatacate['goods_category_name']}</li>
								{/foreach}
							</ul>
							<ul id="sort2" style="display: none;width: 200px;">
							</ul>
							<ul id="sort3" style="display: none;width: 200px;">
							</ul>
						</div>
					</div>
					<!-- 商品类别选择器 -->
				</div>
				<div class="lab">
					<span><i class="update_red">*</i>商品名称</span>
					<input type="text" id="goods_name" onpropertychange="checkcount()" oninput="checkcount()" name="goods_name" class="input-text radius size-M"
					    placeholder="请输入商品名称，不超过30个字">
					<span id="span_namecount">0/30</span>
				</div>
				<div class="lab">
					<span>免押金</span>
					<input type="checkbox" class="checkbox" name="goods_is_free_deposit" value="1"> 消费者下单时不需支付商品押金
				</div>
				<div class="lab">
					<span>包邮</span>
					<input type="checkbox" name="goods_is_free_shipping" value="1" class="checkbox"> 商品支持选择区域内，寄送的快递费由商家承担，归还的快递费由消费者承担
				</div>
				<div class="lab">
					<span>免赔</span>
					<input type="checkbox" name="goods_is_deductible" value="1" class="checkbox"> 物品轻微损坏无需赔偿，轻微损坏范围见商家说明
				</div>
				<div class="lab">
					<span>上门</span>
					<input type="checkbox" name="goods_is_door" value="1" class="checkbox"> 商家负责送货上门，同时负责归还上门取货
				</div>
				<div class="lab">
					<span>自提</span>
					<input type="checkbox" name="goods_is_since" value="1" class="checkbox"> 消费者可到商家设置的自提点，进行取货和归还
				</div>
				<div class="lab">
					<span>随租随还</span>
					<input type="checkbox" name="goods_is_follow_lease" value="1" class="checkbox"> 租赁的商品提前归还时，不收取提前归还违约金
				</div>
			</div>
			<div class="update_goodsBottom">
				<div class="lab cl">
						<div class="lab-l">每笔限租</div>
						
					<p class="update_goodsCommonMess"><input class="goodsadd_type_maxnumber" name='goods_max_count' type="number" max="50" min="1" name="" value="" onblur="checkMaxCount(this)"> 消费者每笔订单限租件数最高为50件</p>
					
				</div>
				<div class="lab cl">
					<div class="lab-l"><i class="update_red">*</i>租用周期</div>
					<div class="lab-r" style="border:0;">
						<ul class="lab-list">
							<li id="li1" style="position:relative;">
								<input type="text" name="rent_period_type[]" class="radius" style="cursor:pointer;width:50px;height: 33px;opacity:0;text-align: center;line-height: 33px;"
								    value="" />
								<span class="yue" style="position: absolute;left:17px;top:0px;color:#333;">日</span></li>
							<li id="li2" style="position:relative;">
								<input type="text" name="rent_period_type[]" class="radius" style="cursor:pointer;width:50px;height: 33px;opacity:0;text-align: center;line-height: 33px;"
								    value="" />
								<span class="yue" style="position: absolute;left:17px;top:0px;color:#333;">周</span></li>
							<li id="li3" style="position:relative;">
								<input type="text" name="rent_period_type[]" class="radius" style="cursor:pointer;width:50px;height: 33px;opacity:0;text-align: center;line-height: 33px;"
								    value="" />
								<span class="yue" style="position: absolute;left:17px;top:0px;color:#333;">月</span></li>
							<li id="li4" style="position:relative;">
								<input name="rent_period_type[]" type="text" class="radius" style="cursor:pointer;width:50px;height: 33px;opacity:0;text-align: center;line-height: 33px;"
								    value="" />
								<span class="yue" style="position: absolute;left:17px;top:0px;color:#333;">季</span></li>
							<li id="li5" style="position:relative;">
								<input name="rent_period_type[]" type="text" class="radius" style="cursor:pointer;width:50px;height: 33px;opacity:0;text-align: center;line-height: 33px;"
								    value="" />
								<span class="yue" style="position: absolute;left:17px;top:0px;color:#333;">年</span></li>
						</ul>
					</div>
				</div>
				<div class="lab cl">
					<div class="lab-l">商品规格</div>
					<div class="update_goodsTypeChoose">
						<div>
							<div class="lab-text">
								<div>
									<input type="text" class="input-text radius size-M edit update_goodsTypeTag" name="key" tabindex="2" onMouseOver="this.className='input_1'"
									    onMouseOut="this.className='input_2'" disabled="disabled" value="颜色" 　readOnly="true">
								</div>
							</div>
							<div class="cl update_goodsTagList">
								<ul class="outer_one set">

								</ul>
								<div class="add_one addl">+添加</div>
							</div>
						</div>
						<div>
							<div class="lab-text">
								<div>
									<input type="text" name="key[]" class="input-text radius size-M edit update_goodsTypeTag" tabindex="2" onMouseOver="this.className='input_1'"
									    onMouseOut="this.className='input_2'" disabled="disabled" value="规格" 　readOnly="true" class="input-text radius size-M edit">
								</div>
							</div>
							<div class="cl update_goodsTagList">
								<ul class="outer_two sets">

								</ul>
								<div class="add_two adds">+添加</div>
							</div>
						</div>
					</div>
				</div>
				<div class="lab cl">
					<div class="lab-l"><i class="update_red">*</i>商品定价</div>
					<!-- 商品定价参数说明 -->
					<div class="update_goodsPrice">
						<div class="lab-top">
							<p class="can update_goodsPriceBook" style="width:100px;cursor:pointer">显示参数说明</p>
							<div class="lab-show">
								<div class="update_goodsPrames" style="display:none">
									<table class="table table-border table-bg  table-bordered">
										<tr class="first-tr">
											<th>最小周期</th>
											<th>最大周期</th>
											<th>原租价</th>
											<th>现租价</th>
											<th>续租价</th>
											<th>最少提前（天）</th>
											<th>最多提前（天）</th>
										</tr>
										<tr>
											<td>用户需起租的最小周期</td>
											<td>用户可起租的最大周期</td>
											<td>优惠前的租赁价格</td>
											<td>优惠后的租赁价格</td>
											<td>续租价格</td>
											<td>用户最少在起租日前多少天可以下单租赁</td>
											<td>用户最多在起租日前多少天可以下单租赁</td>
										</tr>
									</table>
								</div>
							</div>
						</div>

						<div class="te goods_price_check">

							<!-- 商品定价信息列表渲染       -->
							<div class="update_goodsColorSize">
								<table class="table table-border table-bg  table-bordered">
									<tr class="text-c text-cs">
										<td width="240px;">颜色</td>
										<td width="240px;">规格</td>
										<td><i class="update_red">*</i>市场价</td>
										<td><i class="update_red">*</i>押金</td>
									</tr>
									<tr class="text-c">
										<td width="240px;">
											<input type="text" class="update_goodsPriceRead" readOnly="true" name="color[]" value="" />
										</td>
										<td width="240px;">
											<input type="add" class="update_goodsPriceRead" readOnly="true" name="guige[]" value="" />
										</td>
										<td>
											<input name="market_price[]" type="text" class="input-text radius size-M" style="width: 80px;">
											/元
										</td>
										<td>
											<input name="goods_deposit[]" type="text" class="input-text radius size-M" style="width: 80px;">
											/元
										</td>
									</tr>
								</table>
							</div>
							<div class="update_goodsMesSet">
								<table class="table table-list  table-border table-bg  table-bordered">
									<tr class="text-c text-cs">
										<td>最小租用周期</td>
										<td>最大租用周期</td>
										<td>原租价</td>
										<td>现租价</td>
										<td>最少提前</td>
										<td>最多提前</td>
									</tr>
									<tr class="text-c tr-te1" style="font-size: 14px;height: 60px;">
										<td>
											<input name="rent_period_min_rent[]" type="text" class="input-text radius size-M" style="width: 60px;height: 24px;">/日</td>
										<td style="position: relative;">
											<div class="td-hide" style="display: none;">
												<input name="rent_period_max_rent[]" type="text" class="input-text radius size-M" style="width: 60px;height: 24px;">/日
												<p class="td-p" onclick="tpClick(this);" style="border:1px solid #ccc;width: 60px;margin:5px 0 0 10px;cursor: pointer;">无限期</p>
											</div>
											<div class="td-show" style="position: absolute;top:10px;left: 30px;">
												<p style="color: #333;font-size: 13px;">无限期</p>
												<span class="td-click" onclick="tdClick(this);" style="font-size: 13px;cursor: pointer;color:  #2196f3;">点击取消</span></div>
										</td>
										<td>
											<input name="rent_period_old_rent_price[]" type="text" class="input-text radius size-M" style="width: 60px;height: 24px;">元/日</td>
										<td>
											<input name="rent_period_now_rent_price[]" type="text" class="input-text radius size-M" style="width: 60px;height: 24px;">元/日</td>
										<td>
											<input name="rent_period_min_advance[]" type="text" class="input-text radius size-M" style="width: 60px;height: 24px;">/日</td>
										<td>
											<select name="rent_period_max_advance[]" id="" style="border-radius: 4px;height: 26px;">
                           <option value="1">1个月</option><option value="3">3个月</option><option value="6">6个月</option>
                           <option selected="selected" value="12">12个月</option></select></td>
									</tr>
								</table>

								<div class="tab-list cl" style="margin-top: 20px;">
								</div>


							</div>
						</div>
					</div>
				</div>

				<!-- SKU图片操作区域块 -->
				<div class="lab cl">
					<div class="lab-l">SKU图片</div>
					<p class="update_goodsCommonMess">SKU图片比例为1：1，建议尺寸800x800像素,支持png、jpg、gif等基本图片格式，图片小于2M</p>
					<div class="update_goodsSku">
						<p>请选择需要添加图片的SKU属性</p>
						<div id="tab_demo">
							<div class="tabBar clearfix">
							<span style="width: 60px;">颜色</span><span style="width: 60px;">规格</span></div>
							<div class="tabCon">
								<ul class="tabc-list cl tab1">

								</ul>
							</div>
							<div class="tabCon">
								<ul class="tabc-list cl tab2">

								</ul>
							</div>
							<p class="update_goodsCommonMess" style="padding-left:0">目前只支持为其中一个商品规格设置不同的规格图片,设置后，用户选择不同规格会显示不同图片</p>
						</div>
					</div>
				</div>

				<!-- 租赁清单区域块 -->
				<div class="lab cl">
					<div class="lab-l">租赁清单</div>
					<p class="update_goodsCommonMess">租赁清单图片比例为1：1，建议尺寸800x800像素,支持png、jpg、gif等基本图片格式，图片小于2M</p>

					<div class="lab-r cl update_goodsCommonR" style="position: relative;">
						<!-- 租赁清单图片上传区域 -->
						<!-- 最大数量为十张 -->
						<ul class="goods_lease_list img_upload_list">
							<!-- <li  class="goods_lease_single img_upload_single">
								<img id="uploadImage_0" class="upload_image">
								<input type="text" placeholder="请输入名称" class="goods_lease_mess">
								<a href="javascript:" class="upload_delete" title="删除" data-index="0">x</a>
							</li> -->
						</ul>
						<button type="button" style="display:none" id="hidden_lease"></button>
						<label class="goods_lease_add" id="goods_lease_add">添加清单</label>
						<!-- 数据隐藏域； -->
						<input id="id_file_rents" type="hidden" name="file_rents" />
					</div>
				</div>
				<!-- 租赁清单区域块 -->

				
				<!-- 商品主图区域块 -->
				<div class="lab cl">
					<div class="lab-l"><i class="update_red">*</i>商品主图</div>
					<p class="update_goodsCommonMess">首张图片为主图（商品主图图片比例为1：1，建议尺寸：800x800像素，支持png、jpg、gif等基本图片格式，图片小于2M）</p>

					<div class="lab-r update_goodsCommonR" style="position: relative;padding-bottom:0">

						<ul class="goods_mainimg_list img_upload_list">
							 <li  class="goods_mainimg_add img_upload_single">
								<img  class="upload_image">
								<!-- <a href="javascript:" class="upload_delete" title="删除" data-index="0">x</a> -->
							</li> 
							<button type="button" style="display:none" id="hidden_imgmain"></button>
							<!-- 数据隐藏域； -->
							<input id="id_file_mains" type="hidden" name="file_mains[]" />
						</ul>
					</div>
				</div>
				<!-- 商品主图区域块 -->


				<!-- 租赁合约模板 -->
				<div class="lab cl">
					<div class="lab-l">租赁合约模板</div>
					<div class="lab-r" style="border:0;margin-top: 7px;">
						<span id="zulin">
								
							</span>
						<span style="color:  #2196f3;margin-left: 7px;cursor: pointer;" class="sp1">刷新</span>
						<a href="{:url('leasingrules/create')}" target="_blank">新建租赁规则/合约模板</a>
					</div>
				</div>
				<!-- 租赁合约模板 -->

				<!-- 商品详情模板 -->
				<div class="lab cl" style="display:none">
					<div class="lab-l">商品详情模板</div>
					<div class="lab-r" style="border:0;">
						<span id="zulin2">
								
							</span>
						<span style="color:  #2196f3;margin-left: 7px;cursor: pointer;" class="sp2">刷新</span>
						<a href="{:url('goodsdetails/create')}" target="_blank">新建商品详情模板</a>

					</div>
				</div>
				<!-- 商品详情模板 -->

				<!-- 商品详情 -->
				<div class="lab cl">
					<div class="lab-l" style="position: relative;">
						<i class="update_red">*</i>商品详情
					</div>
					<p class="update_goodsCommonMess">图片建议宽为 620像素，高度无限制，图片仅支持JPG、GIF、PNG格式，图片要小于1M</p>

					<div class="lab-r update_goodsCommonR" style="padding-bottom:0">
						<ul class="goods_more_list img_upload_list">
							 <li  class="goods_more_add img_upload_single">
								<img  class="upload_image">
								<!-- <a href="javascript:" class="upload_delete" title="删除" data-index="0">x</a> -->
							</li> 
							<button type="button" style="display:none" id="hidden_more"></button>
							<!-- 数据隐藏域； -->
							<input type="hidden" value="" id="ipt_goods_details_images" name="goods_details_images">
						</ul>
					</div>
					<!-- 商品详情 -->

				</div>
				<div class="lab cl">
					<div class="lab-l"><i class="update_red">*</i>运费模板</div>
					<p class="update_goodsCommonMess">（至少选择一种模板）</p>

					<div class="lab-r update_goodsCommonR" style="padding: 20px;box-sizing: border-box;">
						<div>
							<span style="color: #444;">快递模板</span>
							<span id="zulin3">
								
							</span>
							<span id="id_kd" style="color:  #2196f3;margin-left: 7px;cursor: pointer;">刷新</span>

							<a href="{:url('freight/add')}" target="_blank">新建快递模板</a>
						</div>
						<div style="margin-top: 20px;">
							<span style="color: #444;">上门模板</span>
							<span id="zulin4">
								
							   </span>

							<span id="id_sm" style="color:  #2196f3;margin-left: 7px;cursor: pointer;">刷新</span>
							<a href="{:url('freight/homeservice')}" target="_blank">新建上门模板</a>
						</div>

						<div style="margin-top: 20px;">
							<span style="color: #444;">自提点</span>
							<span style="color: #ddd;margin-left: 17px;">不选视为商品不可自提</span>
							<span style="margin-top:10px;">
									<table  class="table table-border table-bg  table-bordered update_addressshop" style="margin-top:10px;">
		 							<tr class="text-c first-tr">
					 					<td>门店名称</td>
					 					<td>门店地址</td>
					 					<td><input class="checkAlls" type="checkbox" style="margin-right:5px;">全选</td>
					  				</tr>
						  			{foreach($sinces as $k4 => $v4)}
						  			<tr  class="text-c">
					 					<td>{$v4['since_name']}</td>
					 					<td>{$v4['since_detailed_address']}</td>
					 					<td class="checkall"><input class="inputd"name="since_id[]" value="{$v4['since_id']}" type="checkbox"></td>
						  			</tr>
						  			{/foreach}
							</table>
								</span>

						</div>
                    </div>
				</div>
				<div class="lab cl">
					<div class="lab-l"><i class="update_red">*</i>归还地址</div>
					<div class="lab-r update_goodsCommonR" style="border:0;margin-left:0">
						<table class="table table-border table-bg  table-bordered update_addresschange">
							<tr class="text-c first-tr">
								<td>姓名</td>
								<td>收货地址</td>
								<td><input class="checkAll" type="checkbox" style="margin-right:5px;">全选</td>
							</tr>
							{foreach $return_place as $k5 => $v5}
							<tr class="text-c">
								<td>{$v5['revent_receiver_name']}</td>
								<td>{$v5['revent_province']}{$v5['revent_city']}{$v5['revent_region']}{$v5['revent_detailed_address']}</td>
								<td><input type="checkbox" class="input" id="ipt_revert" name="goods_revert_id[]" value="{$v5['revert_id']}"></td>
							</tr>
							{/foreach}
						</table>
					</div>
				</div>
				<div class="lab cl">
					<div class="lab-l"><i class="update_red">*</i>是否需要实名认证</div>
					<div class="lab-r" style="border:0;margin-top: 10px;">
						<input id="id_bIsRealName" type="radio" name="goods_is_verify_real_name" value="1" style="margin-right:5px;">是
						<input type="radio" value="2" name="goods_is_verify_real_name" checked="checked" style="margin-left: 20px;margin-right:5px;">否
					</div>
				</div>
				<div class="mac">
					<input type="button" value="发布" class="btn" onclick="savegoods2();">
					<input type="button" value="保存" class="btn" onclick="savegoods();">
				</div>
			</div>
		</form>
	</div>
	<div class="modal inmodal fade" id="portocol" tabindex="-1" role="dialog" id="div_main1" style="display: none;margin-top: -100px;margin-left: 140px;">
		<div onClick="hidedetails()" id="div_main1" class="modal-body" style="position:absolute;z-index:99;font-size: 16px;width:1000px; height:600px; overflow-y:scroll;background-color:white;">
		</div>
	</div>
</body>

</html>